<template>
  <div class="salarys-container">
    <div class="app-container">
      <el-card>
        <!-- 具体页面结构 -->
        工资管理
        <Son ref="refSon" :shuohua="sum" />
        <button @click="change">修改嘿嘿</button>
      </el-card>
    </div>
  </div>
</template>

<script>
import Son from './son.vue'
export default {
  components: {
    Son
  },
  data() {
    return {
      sum: '嘿嘿'
    }
  },
  methods: {
    change() {
      this.sum = '哈哈'
      console.log(this.$refs.refSon.shuohua)
    }
  }
}
</script>
